From 90a5d994a6cbe6428fa3083111b03fbb82126c63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Thu, 5 Mar 2026 16:22:41 +0100 Subject: [PATCH] appDisplay: Stop using toggle-mode with folder icons This is essentially a left-over from the original folder design, dating all the way back to commit 6e3e2d9 in 2013. It no longer makes much sense with the current design iteration, where we pretend that the icon pops out of the grid and becomes the dialog (i.e. we hide the icon and zoom out the dialog from its position). Part-of: (cherry picked from commit e781d8155ab312a1335dd3082dfd8abfef8430b9) --- js/ui/appDisplay.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 02ddc949b..968b7b818 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2279,7 +2279,6 @@ export const FolderIcon = GObject.registerClass({ super._init({ style_class: 'overview-tile app-folder', button_mask: St.ButtonMask.ONE, - toggle_mode: true, can_focus: true, }, global.settings.is_writable('app-picker-layout')); this._id = id; @@ -2441,9 +2440,6 @@ export const FolderIcon = GObject.registerClass({ mode, delay: isOpen ? 0 : FOLDER_DIALOG_ANIMATION_TIME - duration, }); - - if (!isOpen) - this.checked = false; }); } } -- 2.39.5